package com.foreveross.crawl.vo;

import java.io.Serializable;
import java.util.List;

/**
 * 任务执行详情
 * @author luofangyi
 *
 */
public class TaskExcuteDetail implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1756609593276092017L;
	
	private Long channelId;
	private String taskId;
	/**
	 * 抓取到的航班数
	 */
	private int flightTotal;
	private String taskType;
	private List<DataBody> data;
	
	public TaskExcuteDetail() {
		
	}

	public TaskExcuteDetail(Long channelId, String taskId, int flightTotal, String taskType, List<DataBody> data) {
		super();
		this.channelId = channelId;
		this.taskId = taskId;
		this.flightTotal = flightTotal;
		this.taskType = taskType;
		this.data = data;
	}
	public Long getChannelId() {
		return channelId;
	}
	public void setChannelId(Long channelId) {
		this.channelId = channelId;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public List<DataBody> getData() {
		return data;
	}
	public void setData(List<DataBody> data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "TaskExcuteDetail [channelId=" + channelId + ", taskId="
				+ taskId + ", flightTotal=" + flightTotal + ", taskType="
				+ taskType + ", data=" + data + "]";
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public int getFlightTotal() {
		return flightTotal;
	}

	public void setFlightTotal(int flightTotal) {
		this.flightTotal = flightTotal;
	}

	
}
